package com.chezhujie.www.domain;

import com.xy.core.init.mysql.BaseEntity;
import com.xy.core.init.mysql.annotation.Column;
import com.xy.core.init.mysql.annotation.Entity;
import com.xy.core.init.mysql.annotation.Id;
import com.xy.core.init.mysql.annotation.Table;

import java.util.Date;

/**
 * 评论
 * Created by 汤伟杰 on 2017/5/27.
 */
@Entity
@Table(name = "czj_comments",describe = "评论")
public class Czjcomments extends BaseEntity{
    @Id
    @Column(describe = "评论主键",length = 19,inputType = "hidden")
    private String commentsId;
    @Column(describe = "评论内容")
    private String content;
    @Column(length = 11,describe = "回复数",inputType="int")
    private Integer replyCount;
    @Column(length = 11,describe = "点赞数",inputType="int")
    private Integer likeCount;
    @Column(describe = "用户",length = 19,inputType = "select",inputCode = "int")
    private Integer userinfoId;
    @Column(describe = "评论对象",length = 19,inputType = "hidden")
    private String objectId;
    @Column(describe = "评论对象类别",length = 1,inputType = "select",inputCode = "objecttype")
    private Integer objectType;
    @Column(describe = "是否加入乐拍客",length = 1,inputType = "switch",inputCode = "yesorno")
    private Integer joinlpk;
    @Column(describe = "审批状态",length = 1,defalt = "0",inputType = "select",inputCode = "approvestatus")
    private Integer approveStatus;
    @Column(describe = "审批时间",inputType = "date")
    private Date approveTime;
    private Date approveTimeStart;
    private Date approveTimeEnd;
    @Column(describe = "创建时间",inputType = "date")
    private Date createtime;
    private Date createtimeStart;
    private Date createtimeEnd;
    @Column(describe = "删除标识",length = 1,defalt = "0",inputType = "hidden")
    private Integer delFlag;

    public Integer getReplyCount() {
        return replyCount;
    }

    public void setReplyCount(Integer replyCount) {
        this.replyCount = replyCount;
    }

    public Integer getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Integer likeCount) {
        this.likeCount = likeCount;
    }

    public String getCommentsId() {
        return commentsId;
    }

    public void setCommentsId(String commentsId) {
        this.commentsId = commentsId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getObjectId() {
        return objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getCreatetimeStart() {
        return createtimeStart;
    }

    public void setCreatetimeStart(Date createtimeStart) {
        this.createtimeStart = createtimeStart;
    }

    public Date getCreatetimeEnd() {
        return createtimeEnd;
    }

    public void setCreatetimeEnd(Date createtimeEnd) {
        this.createtimeEnd = createtimeEnd;
    }


    public Integer getApproveStatus() {
        return approveStatus;
    }

    public void setApproveStatus(Integer approveStatus) {
        this.approveStatus = approveStatus;
    }

    public Date getApproveTime() {
        return approveTime;
    }

    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }

    public Date getApproveTimeStart() {
        return approveTimeStart;
    }

    public void setApproveTimeStart(Date approveTimeStart) {
        this.approveTimeStart = approveTimeStart;
    }

    public Date getApproveTimeEnd() {
        return approveTimeEnd;
    }

    public void setApproveTimeEnd(Date approveTimeEnd) {
        this.approveTimeEnd = approveTimeEnd;
    }

    public Integer getObjectType() {
        return objectType;
    }

    public void setObjectType(Integer objectType) {
        this.objectType = objectType;
    }

    public Integer getUserinfoId() {
        return userinfoId;
    }

    public void setUserinfoId(Integer userinfoId) {
        this.userinfoId = userinfoId;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getJoinlpk() {
        return joinlpk;
    }

    public void setJoinlpk(Integer joinlpk) {
        this.joinlpk = joinlpk;
    }
}
